//
//  APhttpUtil.h
//  Qihuo
//
//  Created by Vencoo on 13-10-11.
//  Copyright (c) 2013年 Vencoo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ASIHTTPRequest.h"
#import "ASIFormDataRequest.h"
@interface APhttpUtil : NSObject
//新闻
+(ASIHTTPRequest *)queryNewsID:(NSString *)ID pageNo:(NSInteger)pageNo;
+(ASIHTTPRequest *)buildAddNewsName:(NSString *)name content:(NSString *)content crtUser:(NSString *)crtUser userID:(NSString *)userID;
+(ASIHTTPRequest*)builddeleteNews:(NSString*)ID;
+ (ASIHTTPRequest *)buildEditNewsId:(NSString*)ID name:(NSString *)name content:(NSString *)content crtUser:(NSString *)crtUser userID:(NSString *)userID;
//突发事件
+(ASIHTTPRequest *)queryEmergencyDate:(NSString*)date pageNumer:(NSInteger)pageNum;
+(ASIHTTPRequest *)AddEmergencySystemcase:(NSString *)systemcase address:(NSString *)address reporting:(NSString *)reporting handle:(NSString*)handle result:(NSString*)result userID:(NSString *)userID;
+(ASIHTTPRequest*)DeleteEmergencies:(NSString*)ID;
+ (ASIHTTPRequest *)UpdateEmergenciesId:(NSString*)ID systemCase:(NSString *)systemCase address:(NSString *)address reporting:(NSString *)reporting handle:(NSString*)handle result:(NSString*)result userID:(NSString *)userID;
//资料库
+ (ASIHTTPRequest *)queryResourceInfoOfPageNum:(NSString *)pageNum pageSize:(NSString*)pageSize;
@end
